h1, h2, h3, h4, h5, h6, p, ul, li, div {
  margin: 0;
  padding: 0;
}

ul, li {
  list-style: none;
}

body, html {
  height: 100%;
}

.w {
  width: 1190px;
  margin: 0 auto;
}

.head {
  height: 36px;
  width: 100%;
  background-color: #f5f5f5;
  border-bottom: 1px solid #eee;
}
.head .w {
  height: 36px;
  display: flex;
  justify-content: space-between;
}
.head .w .list1 {
  width: 370px;
  height: 36px;
  display: flex;
  justify-content: space-between;
}
.head .w .list1 li a {
  font-size: 12px;
  line-height: 36px;
  font-weight: 400;
  text-decoration: none;
  color: #6c6c6c;
}
.head .w .list1 li:first-child > span {
  margin-left: 15px;
  color: #6c6c6c;
}
.head .w .list1 li:nth-child(2) a {
  color: #f22e00;
}
.head .w .list1 li:hover a {
  color: #f22e00;
}
.head .w .list2 {
  width: 560px;
  display: flex;
  justify-content: space-between;
}
.head .w .list2 li > a {
  font-size: 12px;
  line-height: 36px;
  font-weight: 400;
  text-decoration: none;
  color: #6c6c6c;
}
.head .w .list2 i {
  color: #6c6c6c;
  font-size: 12px;
  cursor: pointer;
}
.head .w .list2 li:nth-child(2) i {
  color: #f22e00;
}
.head .w .list2 li:nth-child(1) span, .head .w .list2 li:nth-child(6) span, .head .w .list2 li:nth-child(7) span {
  margin-left: 10px;
  color: #6c6c6c;
}
.head .w .list2 li:hover a {
  color: #f22e00;
}
.head .w .list2 li:hover i {
  color: #f22e00;
}

.search {
  width: 100%;
  height: 60px;
  margin-top: 22px;
}
.search .w {
  height: 60px;
  display: flex;
}
.search .w .logo {
  width: 105px;
  height: 43px;
}
.search .w .logo > a {
  display: block;
  width: 105px;
  height: 43px;
  background: url(./imges/logo.png) no-repeat;
  background-size: contain;
}
.search .w .inputbox {
  width: 681px;
  height: 35px;
  border: solid 2px #f50;
  border-right: none;
  margin-left: 300px;
  display: flex;
  position: relative;
}
.search .w .inputbox > a {
  display: block;
  width: 67px;
  height: 31px;
  background-color: #f5f5f5;
  color: #6b6b6b;
  font-size: 12px;
  line-height: 30px;
  text-align: center;
  letter-spacing: 1px;
}
.search .w .inputbox > input {
  border: none;
  outline: none;
  width: 530px;
  height: 31px;
  vertical-align: top;
}
.search .w .inputbox > button {
  width: 80px;
  height: 35px;
  background-color: #f22e00;
  cursor: pointer;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  border: none;
  position: absolute;
  top: -1.5px;
  right: 0;
}

.main {
  width: 100%;
}
.main .w .main-nav {
  width: 940px;
  height: 41px;
  display: flex;
  border: 1px solid #eee;
}
.main .w .main-nav ul {
  width: 285px;
  height: 39px;
  display: flex;
  background-color: #f5f5f5;
}
.main .w .main-nav ul > li a {
  display: block;
  width: 64px;
  height: 39px;
  line-height: 39px;
  text-align: center;
  font-size: 12px;
  font-weight: 300;
  color: #333;
  text-decoration: none;
}
.main .w .main-nav ul > li:first-child a {
  background-color: #fff;
  width: 87px;
}
.main .w .main-nav > div {
  width: 130px;
  height: 39px;
  display: flex;
  line-height: 39px;
  margin-left: 50px;
}
.main .w .main-nav > div input {
  border: 1px solid #ccc;
  outline: none;
  width: 55px;
  height: 23px;
  margin-top: 10px;
  margin-left: 20px;
  margin-right: 15px;
}
.main .w .main-list {
  width: 100%;
  margin-top: 30px;
}
.main .w .main-list .like-list {
  width: 100%;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  box-sizing: content-box;
}
.main .w .main-list .like-list > li {
  width: 215px;
  height: 319px;
  margin-left: 7px;
  margin-bottom: 2px;
  padding: 7px 7px 0 7px;
  box-sizing: content-box;
}
.main .w .main-list .like-list > li > img {
  width: 215px;
  height: 215px;
  border-radius: 12px;
  display: block;
}
.main .w .main-list .like-list > li > h4 {
  margin-top: 9px;
  line-height: 22px;
  height: 44px;
  font-size: 16px;
  color: #111111;
  font-weight: normal;
  transition: color 0.3s;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.main .w .main-list .like-list > li span {
  display: inline-block;
  color: #F40;
  font-size: 20px;
  height: 22px;
  line-height: 22px;
  margin-top: 10px;
}
.main .w .main-list .like-list > li span em {
  font-size: 12px;
}
.main .w .main-list .like-list > li .detailBtn {
  display: inline-block;
  width: 70px;
  height: 25px;
  background-color: #F40;
  font-size: 14px;
  color: #fff;
  text-align: center;
  line-height: 25px;
  margin-left: 30px;
  margin-top: 5px;
  border: none;
  text-decoration: none;
}
.main .w .main-list .like-list li:hover {
  box-shadow: 0 19px 39px 0 rgba(0, 0, 0, 0.12);
  background-color: #fff;
  border-radius: 12px;
}
.main .w .main-list .like-list li:hover h4 {
  color: #ff6f06;
}

.pagination {
  width: 800px;
  height: 50px;
  border: 1px solid red;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}

.footer {
  height: 320px;
  width: 100%;
  background-color: #fff;
  margin-top: 30px;
}
.footer .w {
  height: 320px;
}
.footer .w > img {
  width: 1190px;
  height: 320px;
  margin-top: 30px;
}